
| Visual Basic (Declaration) | |
|---|---|
Public Class DataEntityProperty
(Of TInstance As Class,
TValue)
Inherits DataEntityProperty | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As DataEntityProperty(Of TInstance,TValue) | |
| C# | |
|---|---|
public class DataEntityProperty<TInstance,TValue> : DataEntityProperty where TInstance: class | |
| C++/CLI | |
|---|---|
generic<typename TInstance> generic<typename TValue> public ref class DataEntityProperty : public DataEntityProperty where TInstance: ref class | |
- TInstance
- Type of entity
- TValue
- Type of property
The EntityProperties auto-generated by the Object Mapper use this strongly-typed declaration for all simple properties in your entities.
Every DataEntityProperty has both a GetterInterceptor and SetterInterceptor to which you can inject custom actions. You add these actions using attributes and the AddAction method.
System.Object
IdeaBlade.EntityModel.EntityProperty
IdeaBlade.EntityModel.DataEntityProperty
IdeaBlade.EntityModel.DataEntityProperty<TInstance,TValue>
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family